package com.goods.business.service;

import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

public interface ProductService {
    PageVO<ProductVO> findProductList(
            Integer pageNum,
            Integer pageSize,
            String name,
            String categoryId,
            String supplier,
            Integer status,
            Long[] categorys,
            ProductVO productVO);

    Boolean add(ProductVO productVO);

    /*编辑物资资料前回显*/

    ProductVO edit(Integer id);

    Boolean update(ProductVO productVO);

    /*将物资移入回收站*/

    Boolean remove(Integer id);

    /*重回收箱李面恢复*/
    Boolean back(Integer id);

    /*从数据库中彻底删除*/
    Boolean delete(Long id);

    /*通过审核*/
    Boolean publish(Long id);
}
